const express = require('express');

const router = express.Router();

const { addToDoList,getToDoList,operate,updateType} = require('../controller/todoCtr')

//增加todo
router.post('/addToDoList',addToDoList)
//查询todolists
router.post('/getToDoList',getToDoList)

router.post('/operate',operate)

router.post('/updateType',updateType)

//增加学员信息
// router.post('/addstu', addStu)

// // 查询学员信息
// router.get('/getstulist', getStuList)

// //删除
// router.get('/delstu', delStu)
// //改
// router.post('/updatestu',updateStu)
module.exports = router;